﻿@model UI.Models.Account.Logon
@{
    ViewBag.Title = "Logon";
}
<h2>
    Sign in</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <p>
        <span class="title">Are you a new user?</span></p>
    <a href="@Url.Action("Create", "Account")">
        <img src="@Url.Content("~/images/buttonRegister.gif")" alt="Register Now" border="0"></a>
    <p>
        <span class="title">Or a registered user?</span>
    </p>
    <table cellpadding="1" cellspacing="0">
        <tr>
            <td class="label">
                @Html.LabelFor(model => model.UserId):
            </td>
            <td>
                @Html.EditorFor(model => model.UserId)
                @Html.ValidationMessageFor(model => model.UserId)
            </td>
        </tr>
        <tr>
            <td class="label">
                @Html.LabelFor(model => model.Password):
            </td>
            <td>
                @Html.PasswordFor(model => model.Password)
                @Html.ValidationMessageFor(model => model.Password)
            </td>
        </tr>
    </table>


    <p>
        <input type="image" src="@Url.Content("~/images/buttonSubmit.gif")" alt="submit" name="submit" />
    </p>
}